Transparent Support for Wait-Free Transactions
نویسنده
چکیده
This paper concerns software support for non-blocking transactions in shared-memory multiprocessors. We present mechanisms that convert sequential transactions into lock-free or wait-free ones. In contrast to some previous mechanisms, ours support transactions for which the set of memory locations accessed cannot be determined in advance. Our implementations automatically detect and resolve connicts between concurrent transactions, and allow transactions that do not connict to execute in parallel. The key to the eeciency of our wait-free implementation lies in using a lock-free (but not wait-free) multi-word compare-and-swap (MWCAS) operation. By introducing communication between a high-level helping mechanism and the lock-free MWCAS, we show that an expensive wait-free MWCAS is not necessary to ensure wait-freedom.
منابع مشابه
Implementing Hard Real-Time Transactions on Multiprocessors
We present a new approach to implementing real-time transactions on memory-resident data on sharedmemory multiprocessors. This approach allows hard deadlines to be supported without undue overhead. In our approach, transactions are implemented by invoking wait-free library routines. Concurrency control is embedded within these routines, so no special support for data management is required of t...
متن کاملZooKeeper: Wait-free Coordination for Internet-scale Systems
In this paper, we describe ZooKeeper, a service for coordinating processes of distributed applications. Since ZooKeeper is part of critical infrastructure, ZooKeeper aims to provide a simple and high performance kernel for building more complex coordination primitives at the client. It incorporates elements from group messaging, shared registers, and distributed lock services in a replicated, c...
متن کاملTraffic Properties for Stochastic Routing on Scale-Free Networks
For realistic scale-free networks, we investigate the traffic properties of stochastic routing inspired by a zero-range process known in statistical physics. By parameters α and δ, this model controls degree-dependent hopping of packets and forwarding of packets with higher performance at more busy nodes. Through a theoretical analysis and numerical simulations, we derive the condition for the ...
متن کاملA Comparison between Kubelka-Munk and Geometric Models for Prediction of Reflectance Factor of Transparent Fibers
The reflectance factors of transparent fibers, free delustering agent, are predicted by geometric as well as Kubelka-Munk models. Transparent fibers are simulated by a net of glass capillary tubes containing different solutions of dyestuffs. Based on the results, prediction of the reflectance factor of capillary net by geometric model is relatively better than those obtained from Kubelka-Munk...
متن کاملA Wait-Free Stack
In this paper, we describe a novel algorithm to create a concurrent wait-free stack. To the best of our knowledge, this is the first wait-free algorithm for a general purpose stack. In the past, researchers have proposed restricted wait-free implementations of stacks, lock-free implementations, and efficient universal constructions that can support wait-free stacks. The crux of our wait-free im...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1997